package cesdentalrecord.dao.controller;

import cesdentalrecord.dao.Student;

public class AddStudentController {

	
	public boolean validateEntries(String surname, String firstname,String mi,String gender,String grade, String section,String month,String day,String year,String bplace,String address,String parent,String occ,String medhist,int age ) {
		boolean find = Student.addStudent(surname,firstname,mi,gender,grade,section,month,day,year,bplace,address,parent,occ,medhist,age);
		if(find == false)
			System.out.println("Invalid entries.If you want to add more,please recheck your inputs before typing them. ");
		return true;
	}
}
